package com.woniuxy.util.exception;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class WoniuxyException extends Exception {
    private Integer code;
    private String message;
    public WoniuxyException(){}
    public WoniuxyException(Integer code, String message){
        super(message);
        this.code=code;
    }
}
